package com.hmall.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hmall.common.dto.PageDTO;
import com.hmall.pojo.Item;
import com.hmall.pojo.RequestParams;

import java.util.List;
import java.util.Map;

public interface SearchService extends IService<Item> {

    public List<String> Itemsuggestion(String key);

    public PageDTO PageItem(RequestParams params);

    public Map<String, List<String>> getFilters(RequestParams params);


    void deleteById(Long id);

    void insertById(Long id);
}
